package com.kk.emp.service;
/*
 *@author KK on 2022.10.08 0:10
 */

import com.github.pagehelper.PageInfo;
import com.kk.emp.entity.Emp;

import java.util.Map;

public interface EmpService {

    boolean addEmp(Emp emp);

    Emp doLogin(String ename, String pwd);

    PageInfo<Emp> getEmpByPage(Map<String, String> emps);

    boolean delEmp(Integer eno);

    boolean checkName(String ename);
}
